package com.css.fxfzypg.modules.saresults.service;

import com.css.fxfzypg.base.response.RestResponse;
import com.css.fxfzypg.modules.saresults.entity.DzqhGroundMotionParametersEntity;
import com.css.fxfzypg.modules.saresults.param.MotionParametersParam;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface GroundMotionParametersService {
    RestResponse importData(MultipartFile file);

    RestResponse queryMotionParameters(MotionParametersParam motionParametersParam, HttpServletRequest request,String geom);

    RestResponse getGmpById(String gmpId);

    RestResponse demolitionOrSave(DzqhGroundMotionParametersEntity entity);

    RestResponse restoreData(String reasonForChange,String approvalDocuments,String originalId,String gmdId,String type);

    void exportData(MotionParametersParam param, HttpServletResponse response);

    RestResponse deleteData(String ids);

    RestResponse getNumberByRegion(String province, String city, String county);

    RestResponse getByGeom(MotionParametersParam motionParametersParam,String geom);
}
